| I'm
happy to present the next version of my previous text scrolling applet.
Many new features have been added. I hope you like it. It will help you
to make your pages more interactive and attractive.
Virtual_Max |
|
Applet Parameters: |
|
| AUTHOR |
"Virtual_Max (http://come.to/vmax)" obligatory parameter. Without it, the applet won't work. |
| BGCOLOR | Background color in hexadecimal format. Without any radix symbols. i.e. for red background use FF0000. |
| BGIMAGE | Background image to be placed beside text. If image size is less than applet itself, then the image will be tiled |
| TEXT0 ... TEXTn | Enumerated texts to be shown in applet. Text can start with font and link settings definition placed inside . (See description below) |
BGCOLOR and BGIMAGE parameters are optional. If you omit these parameters then their defaults will be used.
Example:
<PARAM NAME="TEXT0" VALUE=
"|FONT=TimesRoman SIZE=14 STYLE=3 LINK=index.html TARGET= self ALIGN=CENTER|
Your text message here.">
Text can start with Font and link definitions between two "|" symbols (It can't be placed anywhere else except at the beginning of the text value). As you can see in the above example the definitions consist of name/value pairs separated with space character. If you don't specify some parameters, then the previous message settings will be used. If no previous settings were defined, then the defaults will be used. Pay attention, if you do not ensure that the parameters are set for the first to last text, then the defaults will be used for the first time. The first message to the last message settings will be used in further cycles. Each parameter, in text and link definitions, is independent, so you can include definitions for those parameters which you would like to change. In the table below you will find the complete list of parameters.
| FONT | One of the following. BE CAREFUL CASE SENSITIVE
parameter!
|
| STYLE | Use the following values to set font style
|
| SIZE | Font size (integer number) default size is 14. |
| COLOR | Font color in hexadecimal format, (rrggbb) no radix symbol, please. For example use COLOR=FF0000 for red color. Default value=000000 |
| ALIGN | Text alignment setting.
|
| LINK |
|
| TARGET | One can use as windowname defined in FRAME tag, as well as one of the
following:
|
| MOVE | counterclockwise direction from 0 to 360 to move text out of applet field, MOVE=0 corresponds to right move. Default value: 90 (move up). |
<APPLET CODEBASE="./" CODE="texttransporter.class" WIDTH=200 HEIGHT=150> <PARAM NAME="AUTHOR" VALUE="Virtual_Max (http://come.to/vmax)"> <PARAM NAME="BGCOLOR" VALUE="000080"> <PARAM NAME="BGIMAGE" VALUE="bg.gif">
<PARAM NAME="TEXT0"
VALUE="|FONT=TimesRoman COLOR=00FF00 SIZE=20 STYLE=3 ALIGN=CENTER MOVE=90 LINK=null TARGET=_self|
Virtual Max Presents...
">
............ and so on ...............
<PARAM NAME="TEXT10" VALUE="That's all Folks!" "> </APPLET>